/*
 * @Descripttion:
 * @version:
 * @Author: sueRimn
 * @Date: 2020-11-20 14:51:08
 * @LastEditors: sueRimn
 * @LastEditTime: 2020-11-28 10:54:27
 */
/**
 * 学情
 */
import request from "@/utils/request";
import store from "@/store/index";

// 夹带k_token
function addK_Token(data) {
    var token = {
        k_token: store.getters.k_token
    };
    Object.assign(data, token);
    return data;
}

export function getInterestDetail(data) {
    return request({
        url: "/location_url/user/Interest.User/InterestDetail",
        method: "POST",
        headers: {},
        data: addK_Token(data)
    });
}
export function getInterestGetQuestion(data) {
    return request({
        url: "/location_url/user/Interest.User/InterestGetQuestion",
        method: "POST",
        headers: {},
        data: addK_Token(data)
    });
}
export function addInterest(data) {
    return request({
        url: "/location_url/user/Interest.User/InterestAdd",
        method: "POST",
        headers: {},
        data: addK_Token(data)
    });
}
export function InterestAnswer(data) {
    return request({
        url: "/location_url/user/Interest.User/InterestAnswer",
        method: "POST",
        headers: {},
        data: addK_Token(data)
    });
}
export function InterestList(data) {
    return request({
        url: "/location_url/user/Interest.User/InterestList",
        method: "POST",
        headers: {},
        data: addK_Token(data)
    });
}
export function InterestOut(data) {
    return request({
        url: "/location_url/user/Interest.User/InterestOut",
        method: "POST",
        headers: {},
        data: addK_Token(data)
    });
}
export function InterestPresentation(data) {
    return request({
        url: "/location_url/user/Interest.User/InterestPresentation",
        method: "POST",
        headers: {},
        data: addK_Token(data)
    });
}

export function InterestAnalysis(data) {
    return request({
        url: "/location_url/user/Interest.User/InterestAnalysis",
        method: "POST",
        headers: {},
        data: addK_Token(data)
    });
}
